package com.example.command;

import com.example.MyConnection;

/* The Command pattern implements */
public class LoginCommand implements Command {
	
	private MyConnection connection;

	public LoginCommand(MyConnection connection){
		this.connection = connection;
	}
	
	@Override
	public void execute() {
		connection.open();
	}

}
